package com.link.base.base.pageinfo.service;

import com.link.base.base.pageinfo.dao.mybatis.mapper.PageInfoMapper;
import com.link.base.base.pageinfo.model.PageInfo;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author unknown
 * @date unknown
 * @comments 页面信息服务
 */
@Service
public class PageInfoServiceImpl extends BasicServiceImpl<PageInfo> implements PageInfoService {

    @Resource
    private PageInfoMapper pageInfoMapper;

    @Override
    public BasicMapper<PageInfo> getBasicMapper() {
        return pageInfoMapper;
    }

    @Override
    public List<PageInfo> queryUnSelectedByExamplePage(PageInfo record) throws Exception {
        return pageInfoMapper.queryUnSelectedByExamplePage(record);
    }
}
